﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="FeedbackOverview.aspx.cs" Inherits="FeedbackOverview" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Label ID="CompaniesLabel" runat="server" Text="Companies" CssClass="PageLabel"></asp:Label>
	<br />
	<asp:DropDownList
        ID="CompaniesDropDownList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="CompaniesDropDownList_SelectedIndexChanged">
    </asp:DropDownList>&nbsp;
    <br />
    <asp:Label ID="ProductsLabel" runat="server" Text="Products" CssClass="PageLabel"></asp:Label>
    <br />
    <asp:DropDownList ID="ProductsDropDownList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ProductsDropDownList_SelectedIndexChanged">
    </asp:DropDownList><br />

    <span class="PageLabel">My WatchList</span><br />
    <asp:DataList ID="WatchListDataList" runat="server" CssClass="PageLabel" >
        <ItemTemplate>
            <span class="PageText"><%#Container.ItemIndex+1%>. <a href="FeedbackSummary.aspx?FeedbackId=<%#DataBinder.Eval(Container.DataItem,"FeedbackId") %>">
                <%#DataBinder.Eval(Container.DataItem, "Title") %></a></span><br />
        </ItemTemplate>
    </asp:DataList>

    <span class="PageLabel">New Feedback</span><br />
    <asp:DataList ID="NewestDataList" runat="server" CssClass="PageLabel" >
        <ItemTemplate>
            <span class="PageText"><%#Container.ItemIndex+1%>. <a href="FeedbackSummary.aspx?FeedbackId=<%#DataBinder.Eval(Container.DataItem,"FeedbackId") %>">
                <%#DataBinder.Eval(Container.DataItem, "Title") %></a></span><br />
        </ItemTemplate>
    </asp:DataList>        
    
    <span class="PageLabel">Top Rated Feedback</span><br />
    <asp:DataList ID="TopRatedProductList" runat="server" CssClass="PageLabel" >
        <ItemTemplate>
            <span class="PageText"><%#Container.ItemIndex+1%>. <a href="FeedbackSummary.aspx?FeedbackId=<%#DataBinder.Eval(Container.DataItem,"FeedbackId") %>"><%#DataBinder.Eval(Container.DataItem, "Title") %></a></span><br />
        </ItemTemplate>
    </asp:DataList>

<br />
    <br />
    &nbsp;
    <asp:Button ID="AddFeedbackButton" runat="server" OnClick="AddFeedbackButton_Click"
        Text="Add Feedback" />
</asp:Content>

